ItemAttribute

@Serializable
data class ItemAttribute(val id: Int, val name: String, val items: List<Handle.Named<Item>>, val names: List<Name>, val descriptions: List<Description>) : NamedModel(source)

Natural attributes of items, such as being countable or being usable in battle. See: https://pokeapi.co/docs/v2#item-attributes

Parameters

id

The identifier for this resource.

name

The name for this resource.

items

A list of items that have this attribute.

names

The name of this resource listed in different languages.

descriptions

The description of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, items: List<Handle.Named<Item>>, names: List<Name>, descriptions: List<Description>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard